package org.example.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import org.example.order.entity.Comment;

import java.util.List;
import java.util.Map;

public interface CommentService extends IService<Comment> {
    void add(Comment comment);
    void deleteById(Long id);
    void deleteBatch(List<Long> ids);
    void update(Comment comment);
    Comment selectById(Long id);
    List<Comment> selectAll();
    PageInfo<Comment> selectPage(Comment comment, Integer pageNum, Integer pageSize);
    List<Comment> selectByUserIdOrGoodIdOrGoodName(Map<String, Object> params);
}
